public class Methods {

    public static void main(String[] args){
            System.out.println(m(10));
            System.out.println(m(10, 20));
            System.out.println(m("Hello Java"));

    }
    public static int m (int a){
        return a * a;
    }
    public static int m (int a, int b){

        return a * b;
    }
    public static String m(String s){
        return s;
    }
}
